#include "common.h"

#include <stdio.h>

CConfigFile *config=NULL;
bool appActive;

void initConfigDefaults()
{
	config = new CConfigFile();

	config->setValue_asNumber("vid_width",		800,	CConfigFile::FLAG_NONE);
	config->setValue_asNumber("vid_height",		600,	CConfigFile::FLAG_NONE);
	config->setValue_asNumber("vid_bpp",		32,		CConfigFile::FLAG_NONE);
	config->setValue_asNumber("vid_fullscreen",	0,		CConfigFile::FLAG_NONE);
	config->setValue_asNumber("vid_xpos",		0,		CConfigFile::FLAG_NONE);
	config->setValue_asNumber("vid_ypos",		0,		CConfigFile::FLAG_NONE);

	config->setValue_asNumber("vid_fov",		90,		CConfigFile::FLAG_NONE);
}

void releaseConfig()
{
	delete config;
}